package org.jeecg.modules.wechat.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 微信配置类
 */
@Configuration
public class WechatConfig {
    
    @Value("${wechat.nurse.appid:}")
    private String appId;
    
    @Value("${wechat.nurse.appsecret:}")
    private String appSecret;

    @Value("${wechat.nurse.appidms:}")
    private String appIdms;

    @Value("${wechat.nurse.appsecretms:}")
    private String appSecretms;
    
    public String getAppId() {
        return appId;
    }
    
    public String getAppSecret() {
        return appSecret;
    }

    public String getAppIdms() {
        return appIdms;
    }

    public String getAppSecretms() {
        return appSecretms;
    }
    
    public String getAccessTokenUrl() {
        return "https://api.weixin.qq.com/cgi-bin/token";
    }
    
    public String getSubscribeMessageUrl() {
        return "https://api.weixin.qq.com/cgi-bin/message/subscribe/send";
    }
}